package org.jeecg.modules.basic.warehouseGroup.service;

import org.jeecg.modules.basic.warehouse.entity.WmsBasicWarehouse;
import org.jeecg.modules.basic.warehouseGroup.entity.WmsBasicWarehouseGroupUser;
import com.baomidou.mybatisplus.extension.service.IService;
import java.util.List;

/**
 * @Description: 仓库组-仓管员
 * @Author: jeecg-boot
 * @Date:   2023-08-02
 * @Version: V1.0
 */
public interface IWmsBasicWarehouseGroupUserService extends IService<WmsBasicWarehouseGroupUser> {

	/**
	 * 通过主表id查询子表数据
	 *
	 * @param mainId 主表id
	 * @return List<WmsBasicWarehouseGroupUser>
	 */
	public List<WmsBasicWarehouseGroupUser> selectByMainId(String mainId);

	/**
	 * 获取当前登录用户拥有的仓库id集合
	 * @return
	 */
	List<String> getLoginUserWarehouseIdList();

	/**
	 * 查询当前用户管理的仓库id
	 * @return
	 */
	List<String> listWarehouseByLoginUser();
}
